package com.xxmw.transaction.vo;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.math.BigDecimal;

/**
 * 用户交易余额实体类
 * @author: yamoo
 * @create: 2020-07-24 09:57
 */
@Data
@Slf4j
public class BalanceVo {

    /**
     * 冻结余额
     */
    private BigDecimal frozen;

    /**
     * 可用余额
     */
    private BigDecimal available;


    /**
     * 总额
     */
    private BigDecimal total;

    public BalanceVo () {
        this.frozen = BigDecimal.ZERO;
        this.available = BigDecimal.ZERO;
        this.total = BigDecimal.ZERO;
    }

    public static void main(String[] args) {
        log.info(new BalanceVo().toString());
    }
}
